<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const id = Symbol("id");
      const name = Symbol("name");
      const age = Symbol("age");
      const info = {
        [id]: 100,
        [age]: 20,
        id: "200",
        color: "red",
      };
      info[name] = "jack";

      const newInfo = {};
      for (let k in info) {
        newInfo[k] = info[k];
      }
      console.log(newInfo);
    </script>
  </body>
</html>
